package com.yuanfengPlus.basicInfoManage.paymode.service;

import com.yuanfengPlus.basicInfoManage.paymode.mouel.PayModeDustbinInfo;
import com.yuanfengPlus.basicInfoManage.paymode.mouel.PayModeInfo;
import com.yuanfengPlus.utils.PageResult;
import com.yuanfengPlus.utils.Result;

import java.util.List;
import java.util.Map;

public interface IPayModeService {
    // 添加支付方式
    Result<String> insert(PayModeInfo payMethodInfo);
    // 修改支付方式
    Result<String> update(PayModeInfo payMethodInfo);
    // 分页+条件查询支付方式
    PageResult select(Map<String,Object> params);
    // 软删除,移入回收站
    Result<String> delete(String payMethodId);
    Result<List<PayModeDustbinInfo>> selectAllDustbin();
}
